/*
 三国战纪2 TROM图片数据 TEXT:8*8 BG:32*32
*/
#include "map_kov2.h"





//BG色盘数组
const u16 Kov2p_BG_Pal[5][64]= {
	{0xc674,0xb1ce,0xa98c,0xa129,0x98c7,0x9085,0x8c43,0x8842,0xa98d,0x9d2a,0x94c7,0x9085,0x8860,0x8820,0xb58b,0xb128,0xa8e6,0x9ca6,0x9884,0x9463,0x9020,0x8400,0xb987,0xb146,0xa905,0xa0a3,0x9462,0xad6a,0xa4e7,0x9cc5,0xfc00,0x0000},
	{0xEB55, 0xDEF3, 0xD291, 0xCA4D, 0xAD8B, 0xA529, 0x9CE7, 0x94A5,0x8842, 0xB987, 0xB146, 0xA905, 0xA0A3, 0x9462, 0xDB37, 0xC673,	0xB1CE, 0xAD6B, 0xA929, 0xA508, 0xA0C5, 0x9883, 0x9442, 0xC4C7,	0xE8A7, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0},
	{0xEB55, 0xDEF3, 0xD291, 0xCA4D, 0xAD8B, 0xA529, 0x9CE7, 0x94A5,0x8842, 0xB987, 0xB146, 0xA905, 0xA0A3, 0x9462, 0xDB37, 0xC673,	0xB1CE, 0xAD6B, 0xA929, 0xA508, 0xA0C5, 0x9883, 0x9442, 0xC4C7,	0xE8A7, 0x8C63, 0xA0A4, 0xA4C6, 0xB127, 0xB148, 0xC9AB, 0},
	{0xC5A9, 0xB987, 0xB146, 0xA905, 0xA0A3, 0x9482, 0x83E0, 0x83E0,0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0,	0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0,	0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0},
	{0x8842, 0x9CE7, 0x94A5, 0xDB37, 0xC673, 0xB1CE, 0xAD6B, 0xA929,0xA508, 0xA0C5, 0x9883, 0x9442, 0xC5CE, 0xB5AC, 0xAD6A, 0xA528,0xA4E7, 0x9CC5, 0xB16A, 0xAD2A, 0xA908, 0xC5A9, 0xB987, 0xB146,0xA905, 0xA0A3, 0x9482, 0x83E0, 0x83E0, 0x83E0, 0x83E0, 0}
};





const u16 Kov2p_BG_Tiles_0[10*5]= {
	0,0,1,2,3,4,5,6,7,8,
	0,9,10,11,12,13,14,15,16,17,
	0,18,19,20,21,22,23,24,25,26,
	27,28,29,30,31,32,33,34,35,36,
	37,38,39,40,41,42,43,44,45,46
};

const u16 Kov2p_BG_Tiles_1[15*5]= {
	0, 0, 0, 0, 0, 0, 0, 0x2F, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36,
	0, 0, 0, 0, 0, 0, 0x37, 0x38, 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F,
	0x40, 0x41, 0, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D,
	0x4E, 0x4F, 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5A, 0x5B, 0x5C,
	0x5D, 0x5E, 0x5F, 0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6A, 0x6B,
};

const u16 Kov2p_BG_Tiles_2[5*1]= {
	0x6c,0x6d,0x6e,0x6f,0x70
};

const u16 Kov2p_BG_Tiles_3[6*3]= {
	0x71, 0x72, 0x73, 0x74, 0x75, 0x76,
	0x77, 0x78, 0x79, 0x7A, 0x7B, 0x7C,
	0x7D, 0x7E, 0x7F, 0x80, 0x81, 0x82,
};

const u16 Kov2p_BG_Tiles_4[5*4]= {
	0x83, 0, 0, 0, 0,
	0x84, 0x85, 0x86, 0x87, 0,
	0x88, 0x89, 0x8A, 0x8B, 0,
	0x8C, 0x8D, 0x8E, 0x8F, 0x90,
};


const u16 Kov2p_BG_Tiles_5[2*5]= {
	0x91, 0x92,
	0x93, 0x94,
	0x95, 0x96,
	0x97, 0x98,
	0x99, 0x9A,
};

const u16 Kov2p_BG_Tiles_6[2*3]= {
	0x9b, 0x9c,
	0x9d, 0x9e,
	0x9f, 0xa0,
};

const u16 Kov2p_BG_Tiles_7[10*5]= {
	0, 0, 1, 2, 3, 4, 5, 0xA1, 0xA2, 0xA3,
	0, 9, 0xA, 0xB, 0xC, 0xD, 0xE, 0xF, 0xA4, 0xA5,
	0, 0x12, 0x13, 0x14, 0x15, 0xA6, 0xA7, 0xA8, 0xA9, 0xAA,
	0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF,
	0x25, 0x26, 0x27, 0x28, 0x29, 0xB0, 0xB1, 0xB2, 0xB3, 0xB4,
};

const u16 Kov2p_BG_Tiles_8[6*3]= {
	0x71, 0x72, 0x73, 0x74, 0x75, 0xB5,
	0x77, 0x78, 0x79, 0x7A, 0x7B, 0xB6,
	0x7D, 0x7E, 0x7F, 0x80, 0x81, 0xB7,
};

const u16 Kov2p_BG_Tiles_9[2*8]= {
	0xB8, 0,
	0xB9, 0xBA,
	0xBB, 0xBC,
	0xBD, 0xBE,
	0xBF, 0xC0,
	0xC1, 0xC2,
	0xC3, 0xC4,
	0xC5, 0xC6,
};





const struct BG_ImgList Kov2p_BG_ImgList[]= {
	{0xA, 5, (int)&Kov2p_BG_Tiles_0, 0, 0},
	{0xF, 5, (int)&Kov2p_BG_Tiles_1, 0, 0},
	{0x5, 1, (int)&Kov2p_BG_Tiles_2, 0, 0},
	{0x6, 3, (int)&Kov2p_BG_Tiles_3, 0, 0},
	{0x5, 4, (int)&Kov2p_BG_Tiles_4, 0, 0},
	{0x2, 5, (int)&Kov2p_BG_Tiles_5, 0, 0},
	{0x2, 3, (int)&Kov2p_BG_Tiles_6, 0, 0},
	{0xA, 5, (int)&Kov2p_BG_Tiles_7, 0, 0},
	{0x6, 3, (int)&Kov2p_BG_Tiles_8, 0, 0},
	{0x2, 8, (int)&Kov2p_BG_Tiles_9, 0, 0},
	{0x10, 3, 0x3E0B90, 0, 0},
	{0x10, 4, 0x3E0BF0, 0, 0},
	{0x10, 3, 0x3E0C70, 0, 0},
	{0x8, 3, 0x3E0CD0, 0, 0},
	{0x10, 3, 0x3E0D00, 0, 0},
	{0x10, 8, 0x3E0D60, 0, 0},
	{0x6, 8, 0x3E0E60, 0, 0},
	{0x4, 3, 0x3E0EC0, 0, 0},
	{0x8, 3, 0x3E0ED8, 0, 0},
	{0x10, 5, 0x3E0F08, 0, 0},
	{0x10, 5, 0x3E0FA8, 0, 0},
	{0x1, 5, 0x3E1048, 0, 0},
	{0x6, 5, 0x3E1052, 0, 0},
	{0x3, 5, 0x3E108E, 0, 0},
	{0x20, 4, 0x3E10AC, 0, 0},
	{0x20, 4, 0x3E11AC, 0, 0},
	{0x10, 4, 0x3E12AC, 0, 0},
	{0x10, 4, 0x3E132C, 0, 0},
	{0xC, 5, 0x3E13AC, 0, 0},
	{0xC, 5, 0x3E1424, 0, 0},
	{0xC, 5, 0x3E149C, 0, 0},
	{0x8, 3, 0x3E1514, 0, 0},
	{0x18, 5, 0x3E1544, 0, 0},
	{0x5, 8, 0x3E1634, 0, 0},
	{0x5, 8, 0x3E1684, 0, 0},
	{0x6, 1, 0x3E16D4, 0, 0},
	{0x6, 3, 0x3E16E0, 0, 0},
	{0x6, 4, 0x3E1704, 0, 0},
	{0x10, 8, 0x3E1734, 0, 0},
	{0xB, 5, 0x3E1834, 0, 0},
	{0x10, 5, 0x3E18A2, 0, 0},
	{0x5, 5, 0x3E1942, 0, 0},
	{0x5, 5, 0x3E1974, 0, 0},
	{0x10, 3, 0x3E19A6, 0, 0},
	{0x10, 3, 0x3E1A06, 0, 0},
	{0xC, 4, 0x3E1A66, 0, 0},
	{0xC, 4, 0x3E1AC6, 0, 0},
	{0xB, 5, 0x3E1B26, 0, 0},
	{0x8, 5, 0x3E1B94, 0, 0},
	{0x6, 5, 0x3E1BE4, 0, 0},
	{0xB, 3, 0x3E1C20, 0, 0},
	{0x10, 3, 0x3E1C62, 0, 0},
	{0x2, 3, 0x3E1CC2, 0, 0},
	{0xF, 2, 0x3E1CCE, 0, 0},
	{0xF, 3, 0x3E1D0A, 0, 0},
	{0x10, 8, 0x3E1D64, 0, 0},
	{0xC, 5, 0x3E1E64, 0, 0},
	{0x15, 6, 0x3E1EDC, 0, 0},
	{0x6, 6, 0x3E1FD8, 0, 0},
	{0x14, 8, 0x3E2020, 0, 0},
	{0x1F, 8, 0x3E2160, 0, 0},
	{0x1, 1, 0x3E2350, 0, 0},
	{0x8, 5, 0x3E2352, 0, 0},
	{0x10, 3, 0x3E23A2, 0, 0},
	{0x8, 5, 0x3E2402, 0, 0},
	{0x9, 5, 0x3E2452, 0, 0},
	{0x10, 5, 0x3E24AC, 0, 0},
	{0x10, 3, 0x3E254C, 0, 0},
	{0x10, 3, 0x3E25AC, 0, 0},
	{0x7, 1, 0x3E260C, 0, 0},
	{0x10, 4, 0x3E261A, 0, 0},
	{0x10, 4, 0x3E269A, 0, 0},
	{0x10, 4, 0x3E271A, 0, 0},
	{0x10, 4, 0x3E279A, 0, 0},
	{0x10, 4, 0x3E281A, 0, 0},
	{0x10, 4, 0x3E289A, 0, 0},
	{0x10, 6, 0x3E291A, 0, 0},
	{0x10, 6, 0x3E29DA, 0, 0},
	{0x10, 6, 0x3E2A9A, 0, 0},
	{0x10, 4, 0x3E2B5A, 0, 0},
	{0x10, 4, 0x3E2BDA, 0, 0},
	{0x10, 4, 0x3E2C5A, 0, 0},
	{0x10, 4, 0x3E2CDA, 0, 0},
	{0x10, 4, 0x3E2D5A, 0, 0},
	{0x10, 4, 0x3E2DDA, 0, 0},
	{0x10, 8, 0x3E2E5A, 0, 0},
	{0x10, 8, 0x3E2F5A, 0, 0},
	{0x10, 8, 0x3E305A, 0, 0},
	{0x10, 8, 0x3E315A, 0, 0},
	{0x10, 8, 0x3E325A, 0, 0},
	{0x1, 1, 0x3E335A, 0, 0},
	{0x10, 8, 0x3E335C, 0, 0},
	{0x10, 8, 0x3E345C, 0, 0},
	{0x10, 8, 0x3E355C, 0, 0},
	{0x10, 8, 0x3E365C, 0, 0},
	{0x10, 8, 0x3E375C, 0, 0},
	{0x10, 8, 0x3E385C, 0x3E395C, 0},
	{0x10, 8, 0x3E39DC, 0x3E3ADC, 0},
	{0x10, 8, 0x3E3B5C, 0x3E3C5C, 0},
	{0x10, 8, 0x3E3CDC, 0, 0},
	{0x10, 8, 0x3E3DDC, 0, 0},
	{0x10, 8, 0x3E3EDC, 0, 0},
	{0x10, 8, 0x3E3FDC, 0, 0},
	{0x10, 5, 0x3E40DC, 0, 0},
	{0x10, 5, 0x3E417C, 0, 0},
	{0x10, 5, 0x3E421C, 0, 0},
	{0x10, 5, 0x3E42BC, 0, 0},
	{0x10, 3, 0x3E435C, 0, 0},
	{0x10, 3, 0x3E43BC, 0, 0},
	{0x10, 3, 0x3E441C, 0, 0},
	{0x10, 3, 0x3E447C, 0, 0},
	{0x10, 8, 0x3E44DC, 0, 0},
	{0x3, 4, 0x3E45DC, 0, 0},
	{0x10, 8, 0x3E45F4, 0, 0},
	{0x3, 4, 0x3E46F4, 0, 0},
	{0x2, 4, 0x3E470C, 0, 0},
	{0xC, 4, 0x3E471C, 0, 0},
	{0x10, 8, 0x3E477C, 0x3E487C, 0},
	{0x10, 8, 0x3E48FC, 0x3E49FC, 0},
	{0xE, 3, 0x3E4A7C, 0, 0},
	{0x21, 2, 0x3E4AD0, 0, 0},
	{0xE, 5, 0x3E4B54, 0, 0},
	{0xE, 1, 0x3E4BE0, 0, 0},
	{0x11, 8, 0x3E4BFC, 0, 0},
	{0x5, 2, 0x3E4D0C, 0, 0},
	{0xE, 4, 0x3E4D20, 0, 0},
	{0xE, 4, 0x3E4D90, 0, 0},
	{0xE, 6, 0x3E4E00, 0, 0},
	{0x10, 8, 0x3E4EA8, 0, 0},
	{0xB, 8, 0x3E4FA8, 0, 0},
	{0xB, 2, 0x3E5058, 0, 0},
	{0x9, 4, 0x3E5084, 0, 0},
	{0x9, 8, 0x3E50CC, 0, 0},
	{0x9, 1, 0x3E515C, 0, 0},
	{0x10, 8, 0x3E516E, 0, 0},
	{0x2, 4, 0x3E526E, 0, 0},
	{0x10, 4, 0x3E527E, 0, 0},
	{0x8, 4, 0x3E52FE, 0, 0},
	{0x10, 8, 0x3E533E, 0, 0},
	{0x10, 3, 0x3E543E, 0, 0},
	{0x10, 5, 0x3E549E, 0, 0},
	{0x1, 1, 0x3E553E, 0, 0},
	{0x1, 1, 0x3E5540, 0, 0},
	{0x12, 8, 0x3E5542, 0, 0},
	{0xA, 8, 0x3E5662, 0, 0},
	{0x10, 8, 0x3E5702, 0x3E5802, 0},
};






















const struct BG_ImgPack Kov2p_BG_ImgPack= {
	0,
	(int)&Kov2p_BG_ImgList,
	sizeof(Kov2p_BG_ImgList) / 10,
};


const struct BG_ImgUseInfo ST1M0_BG_ImgUseInfo[]= {
	{0x280, 0, (int)&Kov2p_BG_ImgPack, 0, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[0], 0, 0,},
	{0, 0, (int)&Kov2p_BG_ImgPack, 1, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[1], 0, 0,},
	{0x440, 0, (int)&Kov2p_BG_ImgPack, 1, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[1], 0, 0,},
	{0x620, 0x80, (int)&Kov2p_BG_ImgPack, 2, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[2], 0, 0,},
	{0x1E0, 0x80, (int)&Kov2p_BG_ImgPack, 2, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[2], 0, 0,},
	{0x100, 0xA0, (int)&Kov2p_BG_ImgPack, 3, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x200, 0xA0, (int)&Kov2p_BG_ImgPack, 3, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x300, 0xA0, (int)&Kov2p_BG_ImgPack, 3, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x440, 0xA0, (int)&Kov2p_BG_ImgPack, 3, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x540, 0xA0, (int)&Kov2p_BG_ImgPack, 3, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x640, 0xA0, (int)&Kov2p_BG_ImgPack, 3, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0, 0xA0, (int)&Kov2p_BG_ImgPack, 3, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x620, 0, (int)&Kov2p_BG_ImgPack, 4, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[4], 0, 0,},
	{0x1E0, 0, (int)&Kov2p_BG_ImgPack, 4, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[4], 0, 0,},
	{0x3C0, 0, (int)&Kov2p_BG_ImgPack, 5, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[0], 0, 0,},
	{0x3C0, 0xA0, (int)&Kov2p_BG_ImgPack, 6, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x500, 0xA0, (int)&Kov2p_BG_ImgPack, 6, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x700, 0xA0, (int)&Kov2p_BG_ImgPack, 6, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x600, 0xA0, (int)&Kov2p_BG_ImgPack, 6, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0xC0, 0xA0, (int)&Kov2p_BG_ImgPack, 6, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x1C0, 0xA0, (int)&Kov2p_BG_ImgPack, 6, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x2C0, 0xA0, (int)&Kov2p_BG_ImgPack, 6, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x6C0, 0, (int)&Kov2p_BG_ImgPack, 7, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[0], 0, 0,},
	{0x740, 0xA0, (int)&Kov2p_BG_ImgPack, 8, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[3], 0, 0,},
	{0x400, 0, (int)&Kov2p_BG_ImgPack, 9, 0, 0, KOV2_BG_TILEBASE, 0, (int)&Kov2p_BG_Pal[0], 0, 0,},
	{0,0,0,0,0,0,0,0,0,0,0}
};






